package gatperdut.chato.core.interpreter.grammar;

import gatperdut.chato.core.interpreter.grammar.generated.CommandLineGrammarLexer;

import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.LexerNoViableAltException;

public class BailCommandLineGrammarLexer extends CommandLineGrammarLexer {
    public BailCommandLineGrammarLexer( CharStream input ) {
        super( input );
    }

    public void recover( LexerNoViableAltException e ) {
        throw new RuntimeException( e ); // Bail out
    }
}
